package cn.kgc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangyue
 * @version 1.0
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "minio")
public class MiniIoConfig {
    /**
     * 账号
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;
    /**
     * 存储桶名称
     */
    private String bucketName;
    /**
     * 存储桶地址
     */
    private String endpoint;
}
